package com.example.iwalk.newprintapplication.imp;

/**
 * Created by iwalk on 2017/2/6.
 */

public class Printer58Imp extends PrinterImp {
    @Override
    public int getType() {
        return TYPE_58;
    }

    @Override
    public int getLineWidth() {
        return 16;
    }

    @Override
    public int getDrawableMaxWidth() {
        return 380;
    }

    @Override
    public int getLineStringWidth(int textSize) {
        switch (textSize) {
            default:
            case 0:
                return 32;
            case 1:
                return 16;
            case 2:
                return 10;
        }
    }
}
